﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Biggest of three numbers</title>
    <link href="styles/js-console.css" rel="stylesheet" />
</head>
<body>
	<div id="js-console"></div>
	<script src="scripts/js-console.js"></script>

    <script>
        var firstNumber = 5;
        var secondNumber = 3;
        var thirdNumber = 7;
        var biggestNumber;

        if (firstNumber > secondNumber && firstNumber > thirdNumber) {
            biggestNumber = firstNumber;
        }
        else if (secondNumber > firstNumber && secondNumber > thirdNumber) {
            biggestNumber = secondNumber;
        }
        else {
            biggestNumber = thirdNumber;
        }
        jsConsole.writeLine(biggestNumber);
    </script>
</body>
</html>
